#region Copyright RenGuiYou. All rights reserved.
//=====================================================
// NeatlyFrameWork
// Author:      RenGuiyou
// Feedback: 	mailto:750539605@qq.com
//=====================================================
#endregion

namespace Neatly
{
    public static class SetProperty
    {
        public static bool SetValue<T>(ref T currentValue, T newValue)
        {
            if (currentValue.Equals(newValue))
                return false;
            currentValue = newValue;
            return true;
        }
    }
}
